package com.sky.mapper.user;

import com.sky.pojo.Merchant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.query.Param;

@Mapper
public interface MerchantMapper {
     @Select("select * from merchant where id = 1;")
     Merchant selectById(long l);
     @Select("select * from merchant where id = #{id}")
     Merchant getShopById(@Param("id") Long id);
}
